#ifndef BOYAA_DBPART_H_20090707
#define BOYAA_DBPART_H_20090707

#include <global.h>
#include <map>
#include <vector>
#include "def.h"
#include "baseDbPart.h"
#include "Singleton.h"
#include "gameinfo.h"


class CDbPart
{
public:
	CDbPart();
	virtual ~CDbPart();

public:
    static CDbPart* Instance()
	{
		return CSingleton<CDbPart>::Instance();
	}

public:
	bool Get(stGameInfo& gameinfo, const std::uint32_t game, const std::uint32_t agency_id);

public:
	CBaseDbPart* m_dbHandler;
};
#endif
